@import "src/assets/styles/word-table";
@font-face {
  font-family: '仿宋_GB2312';
  src: url("@/assets/fonts/仿宋_GB2312.ttf");
}
.pdf-page {
  width: 39cm;
  height: 27cm;
  background: white;
  flex-grow: 0;
  flex-shrink: 0;
  padding: 1.5cm 2.6cm 1cm 2.6cm;
  display: grid;
  grid-template-columns: 50% 50%;

  .pdf-col {
    height: 100%;

    &:first-child {
      padding-right: 2.6cm;
    }
    &:last-child {
      padding-left: 2.6cm;
    }
  }
}

.present-page {
  h1 {
    font-size: 26pt;
    width: 8em;
    display: flex;
    justify-content: space-between;
    margin: 1em auto;
  }
  p{
    font-size: 14pt;
    text-indent: 2em;
    font-family: '仿宋_GB2312', serif;
    line-height: 2;
    text-align: justify;
  }
}
.cover-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  font-size: 18pt;
  header {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;

    img {
      margin-top: 1em;
      height: 2.45cm;
    }
    h1 {
      font-size: 30pt;
      text-align: center;
      margin-bottom: 3em;
    }
  }

  main {
    padding-bottom: 4em;
    .cover-col {
      font-family: '仿宋_GB2312', serif;
      display: flex;
      margin: 1em 0;

      div {
        &:first-child {
          font-size: 18pt;
        }
        &:last-child {
          width: 12em;
          margin-left: .5em;
          border-bottom: 1px solid black;
          text-align: center;
        }
      }
    }
  }

  footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;

    .date {
      font-size: 18pt;
      font-family: '仿宋_GB2312', serif;
      padding-bottom: 1em;
    }
    span {
      padding-bottom: 2em;
    }
  }
}

.page1 {
  grid-template-columns: repeat(8, 1fr) repeat(2, calc(3cm / 2));
  grid-template-rows: repeat(17, auto);

  & > * {
    grid-column-start: span 2;
  }
  .table-label {
    justify-content: space-between;
  }
}

.page2 {
  grid-template-columns: repeat(8, 1fr);
}